<div class="row">
	<?php foreach ($ourteams as $ourteam) { ?>
	<div class="item span3">
		<div class="node node-agent our-teams listing-preview agent clearfix" about="/node/18" typeof="sioc:Item foaf:Document">
			<div class="row-fluid">
				<div class="span12">
					<div class="image">
						<div class="field field-name-field-image field-type-image field-label-hidden">
							<div class="field-items">
								<div class="field-item even">
									<a data-toggle="modal" href="#myModal_<?php echo $ourteam['Post_ID']; ?>">
										<img src="<?php echo $ourteam['Cover']; ?>" alt="<?php echo $ourteam['Title']; ?>">
									</a>
								</div>
							</div>
						</div>
					</div>
					<!-- /.image -->
					<h5 class="page-header page-header-2"><a class="opendetail" href="<?php echo $ourteam['Href']; ?>"><?php echo $ourteam['Title']; ?></a></h5>
					<p><?php echo html_entity_decode(character_limiter(ucwords(strtolower($ourteam['Summary'])), 100) , ENT_QUOTES, 'UTF-8'); ?></p>
					
					<div id="myModal_<?php echo $ourteam['Post_ID']; ?>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
						<div class="modal-header">
						  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
						</div>
						<div class="our-agents-large">
							<div class="content">
								<div class="agent">
									<div class="row-fluid">
										<div class="image span3"><img alt="<?php echo $ourteam['Title']; ?>"
											src="<?php echo $ourteam['Cover']; ?>"></div>
										<!-- /.image -->
										<div class="body span9">
											<h3><?php echo $ourteam['Title']; ?></h3>
											<p><?php echo $ourteam['PostContent']; ?></p>
										</div>
										<!-- /.body -->
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			<!-- /.email -->
			</div>
		</div>
	</div>
	<?php } ?>
</div>
